// Custom Theming for NG-ZORRO
// For more information: https://ng.ant.design/docs/customize-theme/en
@import '~ng-zorro-antd/ng-zorro-antd.variable.min.css';
@import '../../../node_modules/ng-zorro-antd/ng-zorro-antd.less';
@import '../../../node_modules/ng-zorro-antd/code-editor/style/entry.less';

// Override less variables to here
// View all variables: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less
@theme-color: #00785a;
@border-radius-base: 3px;
@primary-color: @theme-color;
@primary-color-hover: @theme-color;
@success-color: @theme-color;
@link-color: #333;
@processing-color: @theme-color;
@tree-title-height: 30px;
body {
  line-height: initial;
}
.ant-btn-link,
.ant-btn-link:hover {
  color: var(--BLUE_DEEPER);
}
.ant-divider-horizontal {
  margin: 10px 0;
}
// .ant-message-notice-content {
// background-color: @theme-color;
// color: #fff;
// .ant-message-success .anticon {
//   color: #fff;
// }
// }
.ant-drawer {
  .ant-drawer-content-wrapper {
    height: calc(100vh - 25px);
    top: 10px;
    /* box-shadow: var(--MODAL_SHADOW); */
  }
  .ant-drawer-content {
    border-radius: 3px;
  }
  .ant-drawer-title {
    font-weight: bold;
  }
}
.eo_collapse {
  margin-top: 10px;
  .ant-collapse-item {
    .ant-collapse-header {
      background-color: var(--TABLE_HEADER_BG);
      padding: 5px 10px 5px 12px;
    }
    .ant-collapse-content > .ant-collapse-content-box {
      padding: 0 0 40px 0;
    }
  }
}
.ant-tabs-top {
  .ant-tabs-nav {
    margin-bottom: 0;
  }
  .ant-tabs-nav::before {
    border-color: var(--BORDER);
  }
}
.ant-divider-vertical {
  border-color: var(--BORDER);
}
.ant-radio-group {
  .ant-radio-wrapper:last-child {
    margin-right: 0;
  }
}
.ant-modal-footer {
  padding: 16px 24px;
}
p {
  margin-bottom: 0;
}
.ant-dropdown {
  background-color: white;
}
.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
  background-color: var(--NAVBAR_BTN_BG);
}
.ant-tabs-tab {
  font-weight: bold;
  color: #999;
}
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  text-shadow: none;
}
.ant-tree-switcher {
  width: 20px;
}
.ant-empty-description {
  color: #999;
}
